<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>事件</title>
		<script type="text/javascript">
			function funsun(){
				var a = alert(document.write("难道是真的"));
				console.log(a+"是真的");
			}
			function funset(){
				var a = alert(document.write("难道是真的"));
				console.log("我是移动到事件" + a);
			}
		</script>
	</head>
	<body>
		<button type="button" onclick="funsun()" onmouseover="funsen()">事件</button>
	</body>
</html>
